#pragma once

#include "ImgProCfg.h"
#include "ImgAnalyCfg.h"
#include "DDAutoDelete.h"

#include "xhImgAnalyBuffer.h"


class xkImgAnalyBit  
{
public:
	xkImgAnalyBit()
	{
	}
	virtual ~xkImgAnalyBit()
	{
	}

public:
	virtual int Initialize()                                       {return 0;}
	virtual int LoadStdFile(char *pFileName)                       {return 0;}
	virtual int SetStdImgBuffer(zkImgBitInfo *pImgInfo)            {return 0;}
	virtual int StdImgOperate(DWORD dwAnalyType,void *pVoid = NULL){return 0;}

public:
	//To be Checked image
	virtual int SetChkImgBuffer(zkImgBitInfo *pImgInfo)            {return 0;}
	virtual int ChkImgOperate(DWORD dwAnalyType,void *pVoid = NULL){return 0;}

public:
	virtual int GetImgBuffer(zkImgBitInfo **ppImgInfo)             {return 0;}

public:
	virtual int ImgAnaly()                                         {return 0;}


public:
	zkImgBitInfo   m_xStdBitInfo;
	zkImgBitInfo   m_xChkBitInfo;

	DDBufferBlock  m_xStdOrgBuffer;
	DDBufferBlock  m_xChkOrgBuffer;

};

xkImgAnalyBit* CreateImgAnalyBit8();
xkImgAnalyBit* CreateImgAnalyBit16();